<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/uvlper.hpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">uvlper.hpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;uv.h&gt;</code><br />
<code>#include &lt;atomic&gt;</code><br />
<code>#include &quot;<a class="el" href="../../de/d6d/singleton_8hpp_source.html">designM/singleton.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
uvlper.hpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d9/d13/uvlper_8hpp__incl.png" border="0" usemap="#ainclude_2uvlper_8hpp" alt=""/></div>
<map name="ainclude_2uvlper_8hpp" id="ainclude_2uvlper_8hpp">
<area shape="rect" title=" " alt="" coords="42,5,168,32"/>
<area shape="rect" title=" " alt="" coords="5,80,51,107"/>
<area shape="poly" title=" " alt="" coords="94,34,54,71,51,67,90,31"/>
<area shape="rect" title=" " alt="" coords="75,80,136,107"/>
<area shape="poly" title=" " alt="" coords="108,33,108,64,103,64,103,33"/>
<area shape="rect" href="../../de/d6d/singleton_8hpp.html" title=" " alt="" coords="159,80,310,107"/>
<area shape="poly" title=" " alt="" coords="129,30,200,70,197,74,127,35"/>
<area shape="rect" title=" " alt="" coords="150,155,218,181"/>
<area shape="poly" title=" " alt="" coords="228,109,203,144,199,141,224,106"/>
<area shape="rect" title=" " alt="" coords="243,155,325,181"/>
<area shape="poly" title=" " alt="" coords="245,106,269,140,265,143,241,109"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件被哪些文件直接或间接地引用了:</div>
<div class="dyncontent">
<div class="center"><img src="../../d9/d50/uvlper_8hpp__dep__incl.png" border="0" usemap="#ainclude_2uvlper_8hppdep" alt=""/></div>
<map name="ainclude_2uvlper_8hppdep" id="ainclude_2uvlper_8hppdep">
<area shape="rect" title=" " alt="" coords="299,5,425,32"/>
<area shape="rect" href="../../dc/da6/resolver_8hpp.html" title=" " alt="" coords="134,80,271,107"/>
<area shape="poly" title=" " alt="" coords="321,41,231,82,229,77,319,36"/>
<area shape="rect" href="../../d6/d9a/uv__tcp__c_8cpp.html" title=" " alt="" coords="292,155,414,181"/>
<area shape="poly" title=" " alt="" coords="350,47,338,81,337,100,339,120,350,154,345,155,334,121,331,100,333,79,345,45"/>
<area shape="rect" href="../../de/d89/uv__udp__c_8cpp.html" title=" " alt="" coords="5,155,130,181"/>
<area shape="poly" title=" " alt="" coords="284,27,244,34,202,44,160,60,122,82,105,99,91,119,74,156,69,153,87,116,101,95,119,78,158,55,200,39,243,28,283,22"/>
<area shape="rect" href="../../df/ddf/tcp_svr_8hpp.html" title=" " alt="" coords="508,80,638,107"/>
<area shape="poly" title=" " alt="" coords="414,35,537,77,535,82,412,40"/>
<area shape="rect" href="../../d5/d16/tcpbase_8hpp.html" title=" " alt="" coords="347,80,484,107"/>
<area shape="poly" title=" " alt="" coords="383,43,408,78,404,81,378,46"/>
<area shape="rect" href="../../d1/db2/uvlper_8cpp.html" title=" " alt="" coords="661,80,764,107"/>
<area shape="poly" title=" " alt="" coords="439,33,661,79,660,84,438,38"/>
<area shape="rect" href="../../d6/d77/resolver_8cpp.html" title=" " alt="" coords="154,155,269,181"/>
<area shape="poly" title=" " alt="" coords="208,122,213,154,207,155,203,122"/>
<area shape="poly" title=" " alt="" coords="243,111,328,152,325,156,241,116"/>
<area shape="poly" title=" " alt="" coords="167,117,92,156,90,152,164,112"/>
<area shape="rect" href="../../dc/d4c/tcp_svr_8cpp.html" title=" " alt="" coords="520,155,626,181"/>
<area shape="poly" title=" " alt="" coords="576,122,576,154,570,154,570,122"/>
<area shape="poly" title=" " alt="" coords="397,120,366,156,362,153,393,117"/>
</map>
</div>
</div>
<p><a href="../../dc/d4b/uvlper_8hpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d0f/classlooper.html">looper</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">libuv 事件循环控制器。所有的libuv事件循环都应该依赖于这个模块。如果硬件设备是多核的 可以把这个模块设计成多个线程循环的模块。否则应该是一个循环线程  <a href="../../d1/d0f/classlooper.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:aaf8a9ed2dd9f1f83a9acfa8cd7b6b512" id="r_aaf8a9ed2dd9f1f83a9acfa8cd7b6b512"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d0f/classlooper.html">looper</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaf8a9ed2dd9f1f83a9acfa8cd7b6b512">CreateLooper</a> ()</td></tr>
<tr class="memdesc:aaf8a9ed2dd9f1f83a9acfa8cd7b6b512"><td class="mdescLeft">&#160;</td><td class="mdescRight">事件循环器工厂函数。如果对象存在则会创建失败返回空。否则返回循环器对象  <br /></td></tr>
<tr class="separator:aaf8a9ed2dd9f1f83a9acfa8cd7b6b512"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a309790d96fad69beef3657811c68fc21" id="r_a309790d96fad69beef3657811c68fc21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d0f/classlooper.html">looper</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a309790d96fad69beef3657811c68fc21">GetLooper</a> ()</td></tr>
<tr class="memdesc:a309790d96fad69beef3657811c68fc21"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取循环器  <br /></td></tr>
<tr class="separator:a309790d96fad69beef3657811c68fc21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="aaf8a9ed2dd9f1f83a9acfa8cd7b6b512" name="aaf8a9ed2dd9f1f83a9acfa8cd7b6b512"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf8a9ed2dd9f1f83a9acfa8cd7b6b512">&#9670;&#160;</a></span>CreateLooper()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d0f/classlooper.html">looper</a> * CreateLooper </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>事件循环器工厂函数。如果对象存在则会创建失败返回空。否则返回循环器对象 </p>

<p class="definition">在文件 <a class="el" href="../../d1/db2/uvlper_8cpp_source.html">uvlper.cpp</a> 第 <a class="el" href="../../d1/db2/uvlper_8cpp_source.html#l00049">49</a> 行定义.</p>

</div>
</div>
<a id="a309790d96fad69beef3657811c68fc21" name="a309790d96fad69beef3657811c68fc21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a309790d96fad69beef3657811c68fc21">&#9670;&#160;</a></span>GetLooper()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d0f/classlooper.html">looper</a> * GetLooper </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取循环器 </p>

<p class="definition">在文件 <a class="el" href="../../d1/db2/uvlper_8cpp_source.html">uvlper.cpp</a> 第 <a class="el" href="../../d1/db2/uvlper_8cpp_source.html#l00061">61</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_cgraph.png" border="0" usemap="#adc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_cgraph" alt=""/></div>
<map name="adc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_cgraph" id="adc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_cgraph">
<area shape="rect" title="获取循环器" alt="" coords="5,13,87,40"/>
<area shape="rect" href="../../de/d44/classwheels_1_1dm_1_1singleton.html#ab064e1d47abf923e4ae0deaac875c173" title=" " alt="" coords="135,5,283,48"/>
<area shape="poly" title=" " alt="" coords="87,24,119,24,119,29,87,29"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_icgraph.png" border="0" usemap="#adc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_icgraph" alt=""/></div>
<map name="adc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_icgraph" id="adc/d4b/uvlper_8hpp_a309790d96fad69beef3657811c68fc21_icgraph">
<area shape="rect" title="获取循环器" alt="" coords="267,5,348,32"/>
<area shape="rect" href="../../d0/db2/class_c_u_v_u_d_p_client.html#ab9e61439fdd13324385227b5464407fa" title="构造客户端对象" alt="" coords="5,5,219,32"/>
<area shape="poly" title=" " alt="" coords="251,21,219,21,219,16,251,16"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
